package com.zb.api.business.service;

import com.zb.api.business.entity.UserEntity;
import com.zb.api.common.models.UserVo;
import org.springframework.stereotype.Service;

/**
 * 后台用户管理
 */

@Service
public interface UserService {

    UserEntity Sel(int id);

    UserEntity getUserByUserNameAndPassword(UserEntity userEntity);


    UserEntity getUserByUserName(String username);

    UserEntity getUserInfo(UserEntity userEntity);

    int userRegister(UserVo userVo);

    int updateUserInfo(UserVo userVo);

    int updateUserPasswordById(String passwordTwice, Integer id);
}
